package org.example.service;

import org.example.exception.DefaultApiException;
import org.example.pojo.User;
import org.example.util.JsonBody;
import org.springframework.web.servlet.ModelAndView;

public interface UserService {
    JsonBody login(User user) throws DefaultApiException;

    JsonBody register(User user) throws DefaultApiException;
}
